import request from '@/utils/request'

// 查询极客ai换发调用记录列表
export function listAiRequestRecords(query) {
  return request({
    url: '/business/aiOperational/getGeekAiRequestRecordList',
    method: 'get',
    params: query
  })
}

export function getAiBalance() {
  return request({
    url: '/business/aiOperational/getAiBalance',
    method: 'get',
  })
}


export function getSendCardData(query) {
  return request({
    url: '/business/aiSendRecords/getSendCardData',
    method: 'get',
    params: query
  })
}
export function getHairSuccess(query) {
  return request({
    url: '/business/aiSendRecords/getHairSuccess',
    method: 'get',
    params: query
  })
}
export function getAiUsageDataListApi(query) {
  return request({
    url: '/business/aiSendRecords/getAiUsageDataList',
    method: 'get',
    params: query
  })
}
export function getAiPreferenceUsageDataListApi(query) {
  return request({
    url: '/business/aiSendRecords/getAiPreferenceUsageDataList',
    method: 'get',
    params: query
  })
}

export function getAiMaterialUsageDataListApi(query) {
  return request({
    url: '/business/aiSendRecords/getAiMaterialUsageDataList',
    method: 'get',
    params: query
  })
}
